#!/bin/bash
URL="http://localhost/weight" # 替换为你需要请求的URL

for i in {1..10}; do
  curl -s $URL
  sleep 1
done
# chmod +x test_weight.sh